package cn.cdeden.aiqa.domain.vo;

import cn.cdeden.aiqa.domain.WikiRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * AI提问记录视图对象 wiki_record
 *
 * @author Nick
 * @date 2024-12-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WikiRecord.class)
public class WikiRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 标题
     */
    @ExcelProperty(value = "标题")
    private String title;

    /**
     * 会话id
     */
    private String conversationId;

    /**
     * 知识库应用ID
     */
    private Long appId;

    /**
     * 知识库应用名称
     */
    private String appName;

    /**
     * 知识库应用Key
     */
    private String appKey;

    /**
     * 条数
     */
    @ExcelProperty(value = "条数")
    private Long reCount;

    /**
     * 记录
     */
    @ExcelProperty(value = "记录")
    private String record;

    /**
     * 提问用户
     */
    @ExcelProperty(value = "提问用户")
    private Long userId;

    private String nickName;

    /**
     * 助手id
     */
    @ExcelProperty(value = "助手id")
    private Long assistantId;

    /**
     * 创建者
     */
    private Long createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新者
     */
    private Long updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

}
